<template>
  <div class="homeBox">
    <el-container class="container" style="height: 650px">
      <el-header style="height: 70px">
        <Head></Head>
      </el-header>
      <el-container>

        <el-container>
          <el-aside width="200px"  style="background-color: #545c64">
            <Menu></Menu>
          </el-aside>
          <el-main>
            <!--捕获子路由并展示-->
            <router-view></router-view>
<!--            <el-footer id="foot2" style="background-color: rgba(55,91,89,0.27); z-index: 5">-->
<!--              <Footer id="foot"></Footer>-->
<!--            </el-footer>-->
          </el-main>
        </el-container>
      </el-container>
      <el-footer style="height: 60px;padding: 0" >
        <Foot></Foot>
      </el-footer>
    </el-container>
  </div>
</template>

<script>

import Menu from "./Menu";
import Head from "./Head";
import Foot from "./Foot";
  export default {
    name: "Layout",
    components: {
      Menu: Menu,
      Head: Head,
      Foot:Foot
    }
  }
</script>

<style scoped>
  /*body,*/
  /*.homeBox,*/
  /*.el-container{*/
  /*  height: calc(100vh);*/
  /*}*/
  /*.homeBox{*/
  /*  height: calc(100vh);*/
  /*}*/
  .el-header{
    padding: 0;
  }
</style>
